/*
This file is part of buco.  
Copyright (c) 2012 Christopher Pawelzik <christopher@cpawelzik.com>

Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 
*/ 
package buco.integrity.classes;

import org.json.simple.JSONObject;

import buco.core.api.SemanticConstraint;

public class RequireClass extends SemanticConstraint {
	private String name; 

	@Override
	protected void deserialize(JSONObject jsonObject) throws Exception {
		this.name = jsonObject.get("name").toString();		
	}

	public String getName() { 
		return name; 
	}
}